package com.woniu.order.controller;

import com.woniu.common.utils.ResponseData;
import com.woniu.order.service.BusinessTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class BusinessTypeController {
    @Autowired
    private BusinessTypeService businessTypeService;

    /**
     * 查询业务类型
     * @return
     */
    @GetMapping("/selectBusinessList")
    public ResponseData<?> selectBusinessList(){
        return businessTypeService.selectBusinessList();
    }
}
